#include "inputport.h"

inputPort::inputPort()
{

}

inputPort::inputPort(int aID, int sID, bool value)
{
    this->setAfterID(aID);
    this->setSelfID(sID);
    this->setValue(value);
}

void inputPort::setAfterID(int ID)
{
    this->afterID = ID;
}

int inputPort::getAfterID()
{
    return this->afterID;
}

void inputPort::setSelfID(int ID)
{
    this->selfID = ID;
}

int inputPort::getSelfID()
{
    return this->selfID;
}

void inputPort::setValue(bool value)
{
    this->value = value;
}

bool inputPort::getValue()
{
    return this->value;
}
